home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PS User Commands PS
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- ps - print process status information
-
- SSYYNNOOPPSSIISS
- ppss [_o_p_t_i_o_n(_s)] [_p_i_d _p_i_d ...]
-
- OOPPTTIIOONNSS
- --aa Print out information for processes belonging
- to all users (normally only the invoking
- user's processes are printed).
-
- --AA Print out information for absolutely all
- processes, even dead ones.
-
- --dd Print information only for processes in DEBUG
- state.
-
- --hheellpp Print out a help message and exit without
- doing anything else.
-
- --ii Instead of the default status information,
- print information about various process ids
- (includes the PID, PPID, GROUP, USER, RUSER,
- TIME, and COMMAND fields).
-
- --kk Print out information for kernel server
- processes in addition to any other processes
- requested with other switches.
-
- --ll Use local information for migrated processes
- rather than following them to their current
- hosts.
-
- --mm Print information only for processes that are
- migrated to or from another machine.
-
- --MM Instead of the default status information,
- print information about process migration
- (includes the PID, STATE, FLAGS, EVENT, RNODE,
- RPID, and COMMAND fields).
-
- --ss Instead of the default status information,
- print information about signals (includes the
- PID, PENDING, HELD, IGNORE, HANDLE, and COM-
- MAND fields).
-
- --uu Instead of the default status information,
- print additional ``user-oriented'' informa-
- tion, including PID, %CPU, %MEM, SIZE, RSS,
- STATE, TIME, PRI, and COMMAND.
-
-
-
- Sprite v.1.0 Printed: August 10, 1989 1
-
-
-
-
-
-
- PS User Commands PS
-
-
-
- --vv Instead of the default status information,
- print virtual memory information (includes the
- PID, CODSZ, CODRS, HPSZ, HPRS, STKSZ, STKRS,
- SIZE, RSS, and COMMAND fields).
-
- --ww _l_i_n_e_W_i_d_t_h Use _l_i_n_e_W_i_d_t_h as the output line length, and
- format output so that it fits neatly on lines
- of this length. The COMMAND field gets trun-
- cated as necessary to accomplish this.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- This command prints out process status information. If one
- or more _p_i_d's is given, then information is printed for
- those processes. If no _p_i_d is given, then information is
- printed for all processes belonging to the invoking user
- (additional processes may be requested with switches like
- --aa).
-
- By default, ppss prints a short status report for each pro-
- cess, containing the PID, STATE, TIME, and COMMAND fields.
- Other forms of printout are available using switches like --uu
- and --mm.
-
-
- FFIIEELLDDSS
- The names of fields printed by ppss (which appear at the tops
- of the columns of ppss printout), and the meaning of the
- information printed in the fields, are:
-
- CCOODDRRSS The amount of physical memory occupied by this
- process's code segment, in units of 1024 bytes.
-
- CCOODDSSZZ The total size of this process's code segment,
- in units of 1024 bytes. Not all of this is
- necessarily resident in memory.
-
- CCOOMMMMAANNDD The command that the process is executing.
- This field gets truncated if necessary to avoid
- running off the end of the line. Use the --ww
- switch to request a longer line size when
- needed.
-
- EEVVEENNTT The _e_v_e_n_t field from the process control block
- (printed in hexadecimal). See the include file
- <kernel/proc.h> for further information.
-
- FFLLAAGGSS The _g_e_n_F_l_a_g_s field from the process control
- block (printed in hexadecimal). See the
- include file <kernel/proc.h> for further infor-
- mation.
-
-
-
-
- Sprite v.1.0 Printed: August 10, 1989 2
-
-
-
-
-
-
- PS User Commands PS
-
-
-
- GGRROOUUPP The process group to which this process
- belongs.
-
- HHAANNDDLLEE A hexadecimal value giving a bit-mask of the
- signals for which the process has specified
- handler procedures.
-
- HHEELLDD A hexadecimal value giving a bit-mask of the
- signals currently ``held'' (prevented from
- being delivered to the process at its request).
-
- HHPPRRSS The amount of physical memory occupied by this
- process's heap segment, in units of 1024 bytes.
-
- HHPPSSZZ The total size of this process's heap segment,
- in units of 1024 bytes.
-
- IIGGNNOORREE A hexadecimal value giving a bit-mask of the
- signals currently being ignored by the process
-
- PPIIDD The process ID for the process.
-
- PPPPIIDD The process id of the parent of this process.
-
- PPRRII The priority of the process. Processes with
- normal priority have no specific priority
- listed. Server processes, with infinite prior-
- ity, are listed as "S". Processes with above-
- normal priority are listed as ">", and
- processes with below-normal priority are listed
- as "<". Processes with VERY_LOW_PRIORITY are
- listed as "<<".
-
- PPEENNDDIINNGG A hexadecimal value giving a bit-mask of the
- signals that are awaiting delivery to the pro-
- cess.
-
- RRNNOODDEE For a migrated process, this identifies the
- ``other'' node that the process belongs to (its
- home node if this is the remote node, or vice
- versa).
-
- RRPPIIDD For a migrated process, this contains the id of
- the process on its ``other'' node (its home
- node if this is the remote node, or vice
- versa).
-
- RRSSSS Resident set size: the total physical memory
- occupied by this process, in units of 1024
- bytes. This is the sum of CODRS, HPRS, and
- STKRS.
-
-
-
-
- Sprite v.1.0 Printed: August 10, 1989 3
-
-
-
-
-
-
- PS User Commands PS
-
-
-
- RRUUSSEERR The name of the user corresponding to the real
- user ID of this process.
-
- SSIIZZEE The total amount of virtual memory allocated to
- this process, in units of 1024 bytes. Not all
- of this memory is necessary resident in physi-
- cal memory, and some of it may not even have
- been accessed. SIZE is equal to the sum of
- CODSZ, HPSZ, and STKSZ.
-
- SSTTAATTEE The current execution state of the process.
-
- SSTTKKRRSS The amount of physical memory occupied by this
- process's stack segment, in units of 1024
- bytes.
-
- SSTTKKSSZZ The total size of this process's heap segment,
- in units of 1024 bytes.
-
- TTIIMMEE The total CPU time consumed by the process, in
- minutes and seconds. This time includes both
- kernel and user time.
-
- UUSSEERR The user name corresponding to the effective
- user ID of this process.
-
- %%CCPPUU A smoothed average of the fraction of a CPU
- that this process has consumed over the last
- several seconds.
-
- %%MMEEMM The fraction of total physical memory occupied
- by this process's segments. Does not include
- memory that belongs to the process but is
- swapped out.
-
-
- KKEEYYWWOORRDDSS
- process, status
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: August 10, 1989 4
-
-
-
-